﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common.Enum;

namespace W.Warehouse.Domain.DTO
{
    public class AllocationProductDTO
    {
        /// <summary>
        /// 调拨Id
        /// </summary>
        public int AllocationId { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string? AllocationNo { get; set; }
        /// <summary>
        /// 调拨仓库
        /// </summary>
        public string? AWarehouseName { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string? WarehouseLocationName { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public AuditStatus? AllocationStatus { get; set; }
        /// <summary>
        /// 单据状态(文本)
        /// </summary>
        public string? AllocationStatusText { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
        /// <summary>
        /// 调拨产品id
        /// </summary>
        public int AllocationProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? ProductBatch { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? BinLocationName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
